package com.hone.honewed.controller.Bottom;

import com.eig.common.vo.Result;
import com.hone.honewed.service.Bottom.BottomService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：YQ袁（2446806940@qq.com）
 * @date ：Created in 2022/12/29 10:21
 * @description：
 * @modified By：
 * @version:
 */
@RequestMapping("home/qian/bottomArticle")
@RestController
@Api(value = "底部文章前")
public class BottomController {
    @Autowired
    private BottomService bottomService;

    @GetMapping("/getQianAllBottomArticle")
    @ApiOperation(value = "查询全部")
    public Result getQianAllBottomArticle(){
        return bottomService.getQianAllBottomArticle();
    }
}
